This is a discussion on "session problem" within the Classic ASP section. This forum, and the thread "session problem are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
session problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
session problem
Hi all,
I been bothered by this problem for very long time and i hope maybe some of you can help me out. Thanks in advance. My company website have this problem that it cannot remember the session for those user who use firefox. To make thing simple, i wrote somthing like this:
You can try to access this pages by following this link www.ssdcl.com.sg/sessionTest1.asp I also sure that firefox is set to accept cookies. Any help is appreciated. Thanks again and sorry for my poor english. Regards, fender79 |
|
|
|
|||
|
Sometimes I find that I have to set a session value twice in a row to get it to actually set correctly:
|
|
|||
|
Hi,
I try to set the session variables twice but still not successful. The thing i cannot understand is why when i comment away the response.cookies, the session variables will work. But if i not, it wont work at all. Rgs, |
|
|||
|
I assume you've tried setting the cookie after the session variables?
|
|
|||
|
ya i did that also but also cannot work.
|
|
|||
|
Try setting the cookies and session varibles BEFORE your opening <html> tag...
|
|
|||
|
I try to put the asp code before the opening of html tag but still cannot work. Is there any server setting will affect this?
|
|
|||
|
Have you tried outputting Session.SessionID - Does it work?
Are you using IIS? I have tried almost exactly the same code on my machine and it works, but like you say, if I try your link in FF it doesn't work. |
|
|||
|
HI,
I put this code in sessiontest2.asp session id is <%=session.sessionID %> </p> and i found that the session id is not the same each time i refresh the browser. How can this be? Ya, using IIS. Rgs, |
![]() |
| Tags |
| session, problem |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Session *not your usual* problem | ysamu | PHP Forum | 0 | Mar 28th, 2008 10:00 |
| [SOLVED] Session data problem | longstand | PHP Forum | 15 | Dec 9th, 2007 18:28 |
| Session Timeout problem | LameesAyman | ASP.NET Forum | 2 | May 2nd, 2007 14:45 |
| Generating ID or Session Problem? Options | chlad | Classic ASP | 2 | Aug 21st, 2006 11:47 |
| problem with Session variable | andrew_perez5 | Classic ASP | 0 | Jan 24th, 2005 03:42 |