|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Urgent Session problem
Hi
I'm having major problems with session variables. I have posted this before http://forums.aspfree.com/t85319/s.html To sum this post up I have moved to another web hosting company which uses IIS 6 and Server 2003. My application used to work but on this new server I experience problem with sessions. I have looked through all the post here and I have no soloution. I don't use global.asa and this code DON'T work to check weather a session value is stored Code:
<% Response.Write( Session.SessionID ) %> But when I create my own Session value it sometimes displayes the value and sometimes it's blank. Please help! |
|
#2
|
|||
|
|||
|
Can't help without some details of your problem, something more than "don't work".
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
Session variables don't just stop displaying sometimes.
Either your session timeout is very small or you aren't setting up your session variable properly. As Doug pointed out, without code it's hard to help ![]()
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
|
#4
|
|||
|
|||
|
Well there is no error messeage. The problem is when I use the Session test code to see weather it is possible to store session values it displayes differrent values from time to time. This means that I can't store session value (because it changes).
|
|
#5
|
|||
|
|||
|
Quote:
So I guess your task must be to figure out what's different "from time to time". |
|
#6
|
|||
|
|||
|
No, The session ID should be persistent, it should have the same value all the time. And when I check the session value in my browser it chnages.
|
|
#7
|
|||
|
|||
|
And you will have to figure out something you do differently between when it works and when it doesn't. Session ID's don't change just for the heck of it, and no one can help without some more information to work with.
|
|
#8
|
||||
|
||||
|
post your code where your session variable is and the code that retains response.write("session("anything"))
__________________
Mark If you found a post particularly helpful, show your appreciation by clicking the "scales" icon in the bar just above the post, at the right hand side. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Urgent Session problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|