会话状态问题 [英] Session State Question

查看:69
本文介绍了会话状态问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello

我有一个重定向到外部https页面的系统,当我这样做时它会丢失会话对象。我到处寻找,无法为我的问题找到合适的答案。

I have a system that redirects to an external https page and when i do this it looses the session object. I have looked everywhere and am unable to find a suitable answer for my question.

当用户在https屏幕上完成后,我将它们重定向回我的http屏幕现在有什么方法我可以保留第一个屏幕中我的http应用程序中的会话吗?

When you user is finished on the https screen i redirect them back to my http screen now is there any way i can keep the session that was in my http app in the first screen?

谢谢

推荐答案

您好,

由于您将用户导航到外部页面,因此会话在您当前的应用程序域中完成。尝试在cookies中存储您想要的信息,然后您可以在返回时检查所需的项目。

Since you navigate the user away to an external page, thier session is done in your current app domain. Try storing the information you want inside cookies, then you can check for the items you need when they return.

 


这篇关于会话状态问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆