If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > JS-ASP Session Handling

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-14-04, 09:30
sachin_mt sachin_mt is offline
Registered User
 
Join Date: Jan 2003
Posts: 106
JS-ASP Session Handling

Hi,

I am working on JS-ASP Java System ASP which is an engine for running ASP pages on Solaris machine.

Everything is working fine but,when session expires it gives Page not found error.

We are checking for session variables for blank on each page and handle it, but still it says page not found.


Any solutions?
__________________
Sachi
Reply With Quote
  #2 (permalink)  
Old 04-14-04, 21:30
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
So what do you do when you have no session variables??
Reply With Quote
  #3 (permalink)  
Old 04-14-04, 23:54
sachin_mt sachin_mt is offline
Registered User
 
Join Date: Jan 2003
Posts: 106
need to show home page

Hi,

if the session.variable is blank we show the homepage and say "session expired" this works fine on windows,but doesnt on linux/solaris
__________________
Sachi
Reply With Quote
  #4 (permalink)  
Old 04-15-04, 01:06
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Hmmmm,... so you redirect to the login page??

I'm wondering if your redirect is failing because your url is being processed differently or somehing... I had something similar a while back...

I've never used JS-ASP Java System ASP so I really don't know what would cause the problem otherwise...
Reply With Quote
  #5 (permalink)  
Old 04-15-04, 01:09
sachin_mt sachin_mt is offline
Registered User
 
Join Date: Jan 2003
Posts: 106
no problem on windows

we dont encounter this problem on windows based machines,it is only on unix based machines.
__________________
Sachi
Reply With Quote
  #6 (permalink)  
Old 04-15-04, 01:13
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Yeah, I read that,... like I said, I wonder if the redirect is handle differently in the linux version you have.... as opposed to a problem with the handling of the session variables...
Reply With Quote
  #7 (permalink)  
Old 04-15-04, 01:16
sachin_mt sachin_mt is offline
Registered User
 
Join Date: Jan 2003
Posts: 106
response.redirect is used and it works fine

response.redirect is used in many other places in the website,but it gives problem when session expires
__________________
Sachi
Reply With Quote
  #8 (permalink)  
Old 04-15-04, 01:22
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Hmmmm,....okie, I really don't know what it might be then... if you want to post code I'd be happy to look it over... but if it is a JS-ASP pecularity than I can't really help sorry.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On