|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
session value expires with javascript:window.open
Hi,
I have an application that uses session values. On the first login page, I am setting Session.Timeout = 60 'minutes Session("IsValidSession") = "Yes" Now while I am navigating through other pages, the session values are fine. I have an include file(.asp), and here I have a function that redirects to timeout.asp page code in include file. if Session("IsValidSession") ="" or Session("currSessionID") ="" Session.Abandon Response.Redirect "../timeout.asp. There are two asp pages where the below code is fired when view is clicked. asp page1.) "<td><a href='javascript:winPop(""Print"",""PrintPreview.asp?assmtid="1234""",""760"",""500"",""1"",""0"",""0"",""0"")' class=clsUndLink>View</a></td>" asp page2.) <a href='javascript:winPop("UNQ","UnansweredQuestions.asp","500","400","1","0","0")' class=clsUndLink>There are unanswered Questions!</a> Only in this particular scenario, when javascript:winPop is executed the session value becomes null and redirects to timeout.asp, because either Session("currSessionID") ="" or Session("IsValidSession") ="" is becomming null. And this doesn't happen in all machines, it happens in some of the users machines only. It doesn't happen in my machine. I belive the users machine where this issue arises accpets cookies and the reason is if it wouldn't have accepted cookies, then they would have been redirected to timeout.asp page while navigating through other pages. Please advice me. Thanks in advance, Sha. |
|
#2
|
||||
|
||||
|
This is the Lounge. You ahve already posted this in the ASP help
forum. Why have you cross posted it here too...? Read the 'How to post a question' thread linked in my signature before posting again... --Jon.
__________________
Support requests via PM will be ignored! |
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
|||
|
|||
|
I am in very urgent need on this issue, and there it says only ASP Programming, but I thought as this involves Javascript function may be I will post here. Sorry if it is causing any inconvenience.
|
|
#5
|
||||
|
||||
|
We know it's urgent. Everything posted here is urgent.
Like I said, read the link in my sig. Just because it is urgent to you, doesn't mean it is urgent to anybody else here... You posted your question in the correct place [the ASP forum] - and people will see it and answer it in their own time [I see there are already people responding to it]. Cross posting is considered rude and it will not make us answer your questions any faster. http://forums.aspfree.com/t79219/s.html |
|
#6
|
|||
|
|||
|
I will take care next time. I am not able to delete in this longue.
|
|
#7
|
||||
|
||||
|
Quote:
![]()
__________________
|
|
#8
|
||||
|
||||
|
|
| Viewing: ASP Free Forums > Other > ASP Free Lounge > session value expires with javascript:window.open |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|