Session从ASP.NET到经典的asp(Session FROM ASP.NET to classic asp)
我有一个旧的系统是由经典ASP开发的,而不是我开发的。 我有一个由ASP.NET开发的新系统
如何将会话变量(不是复杂的类型,只是一个简单的字符串或int)传递给那个经典的ASP页面? 我不需要任何回复。
要为工程添加扳手 - 如果经典ASP网站位于不同的域中,我该如何进行“切换”或转移?
更新:不能使用通过查询字符串传递项目或将其存储在数据库中并让经典ASP从数据库中读取它的选项。
谢谢
I have an old system that was developed, not by me, in classic ASP. I have a new system, developed by me in ASP.NET
How can I pass a session variable (not complex types, just a simple string or int) TO that classic ASP page? I don't need anything back from it.
To add a spanner to the works - how can I do the "hand off" or transfer if the classic ASP site is on a different domain?
Update: Cannot use the option of passing items via querystring OR storing it in a DB and letting the classic ASP read it from the DB.
Thank you
原文:https://stackoverflow.com/questions/14900627
最满意答案
可以说,使用React和Bootstrap时最受欢迎的库是React Bootstrap 。 这为您提供了方便的组件,它们已经拥有了所有类等。
但值得注意的是:
因为React-Bootstrap不依赖于非常精确的Bootstrap版本,所以我们不附带任何包含的CSS。 但是,某些样式表需要使用这些组件。 您包含的样式和引导样式取决于您,但最简单的方法是包含CDN中的最新样式。
我见过的大多数实现都利用了像Webpack这样的构建工具,并使用了诸如sass-loader之类的加载器 。 这将允许您使用官方的Bootstrap sass库 。
如果您的需求不是那么复杂,您始终可以选择在初始
index.html
包含CSS。与前端开发中的大多数事情一样:没有绝对正确的答案。
Arguably the most popular library when working with React and Bootstrap is React Bootstrap. This gives you convenient components to use which already have all the classes etc.
It is worth noting, however:
Because React-Bootstrap doesn't depend on a very precise version of Bootstrap, we don't ship with any included CSS. However, some stylesheet is required to use these components. How and which bootstrap styles you include is up to you, but the simplest way is to include the latest styles from the CDN.
Most implementations I've seen leverage use of build tools like Webpack and use loaders such as the sass-loader. This will allow you to use the official Bootstrap sass library.
If your needs are not so complex, you always have the option to just include the CSS in your initial
index.html
.As with most things in front-end development: there is no absolute right answer.
相关问答
更多-
尝试关闭功能 plotModal.modal('hide') try close function plotModal.modal('hide')
-
使用Bootstrap和React的最佳方法?(Best way to use Bootstrap with React? Directly or with a library?)[2023-03-21]
可以说,使用React和Bootstrap时最受欢迎的库是React Bootstrap 。 这为您提供了方便的组件,它们已经拥有了所有类等。 但值得注意的是: 因为React-Bootstrap不依赖于非常精确的Bootstrap版本,所以我们不附带任何包含的CSS。 但是,某些样式表需要使用这些组件。 您包含的样式和引导样式取决于您,但最简单的方法是包含CDN中的最新样式。 我见过的大多数实现都利用了像Webpack这样的构建工具,并使用了诸如sass-loader之类的加载器 。 这将允许您使用官方的 ... -
我使用react-bootstrap-datetimepicker运行良好。 然而,如果你使用bootswatch主题,它需要CSS添加。 此外,它可能需要一些z-index调整,具体取决于您显示它的位置。 否则它工作得很好。 I use react-bootstrap-datetimepicker that works well. Yet, it requires CSS addition in case you use bootswatch theme. Besides, It can require ...
-
无法在服务器端呈现模态。 从react-bootstrap成员得到这个答案: 故意不支持在服务器上呈现所显示的叠加层。 看到这个问题 。 It is not possible to render modal on the server side. Got this answer from react-bootstrap member: Rendering of shown overlays on the server is intentionally not supported. See this issu ...
-
您没有在项目中包含所需的css。 在项目的External Resources部分添加此css链接https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css 。 这在react-bootstrap有概述 You have't included the required css in the project. Add this css link in the External Resources section of your ...
-
您可以使用React开发工具( https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en )查看它不是您可以导入的正常引导程序组件,但他们为此目的而写的一个定制的。 所以不幸的是,如果你想要类似的功能,你将不得不从头开始重新编写它。 You can use the React dev tools (https://chrome.google.com/websto ...
-
也许这有效:@dmasi在评论中提到了它的权利。 这看起来像一个命名空间问题,它在react-bootstrap网站上提到的例子中缺少。 这里是通过React-Bootstrap使用Bootstrap的ButtonGroup的一个例子。 你可以为你的代码采用类似的方法。
React-Bootstrap Testing
正如DOCS所说: 在上设置id,在 上设置 。 基本上它是输入的id和属性的标签。 As the DOCS says: Sets id on and htmlFor on . Basically it's the input's id and the label's for attribute. 使用违反封装,它将网格列的内部实现暴露给外部。 它可能会导致维护问题。 例如,如果在下一个Bootstrap版本网格中以某种方式更改,则应该找到所有并在情况下手动替换它们你应该做的就是更新库。 Using violates encapsulation, it exposes inner imple ...相关文章
更多- AMF: ASP.NET Mobile Framework
- asp.net 列表控件
- asp.net mvc 微信开发随笔(1)
- 微信公众平台开发(ASP.NET)
- Full-Text Search in ASP.NET using Lucene.NET
- 微信公众平台开发小记(ASP.NET)
- Ubuntu(Linux) + mono + jexus +asp.net MVC3 部署
- Chapter 9 - Securing Your Application -- Professional ASP.NET MVC 1.0
- asp.net 输出微信自定义菜单json
- token验证-微信公众平台开发3(asp.net)
最新问答
更多- 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
- 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
- OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
- 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
- codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
- 在计算机拍照在哪里进入
- 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
- No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
- 单页应用程序:页面重新加载(Single Page Application: page reload)
- 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
- System.StackOverflow错误(System.StackOverflow error)
- KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
- 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
- android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
- TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
- 企业安全培训的各项内容
- 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
- C#类名中允许哪些字符?(What characters are allowed in C# class name?)
- NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
- 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
- 将多个行和可变行移动到列(moving multiple and variable rows to columns)
- 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
- 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
- Angular $资源不会改变方法(Angular $resource doesn't change method)
- 在Angular 5中不是一个函数(is not a function in Angular 5)
- 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
- 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
- 常见的python rpc和cli接口(Common python rpc and cli interface)
- Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
- 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)