Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Sessions not retained in Firefox/Safari

Reply
Thread Tools

Sessions not retained in Firefox/Safari

 
 
Chris Mahoney
Guest
Posts: n/a
 
      09-12-2005
Hi

I'm using several Sessions in my app. When the user has cookies enabled in
their browser, everything works fine. But with cookies disabled, only IE
seems to remember the sessions. In Firefox and Safari, the session values
seem to be "forgotten".

I've looked around on Google but can't find any solutions to this problem.
Plus I don't know how debug with Firefox (eg. step through the code).

So, basically I have two questions:
1. Any idea why non-IE browsers are losing their sessions when cookies are
disabled?
2. How can I step through code using non-IE browsers?

Thanks
Chris


 
Reply With Quote
 
 
 
 
Bruce Barker
Guest
Posts: n/a
 
      09-13-2005
by default session support requires cookies (you must not haver cookies off
in IE, chck the zone, and be sure cookies are disabled for that zone).

you can use cookieless sessions, (see web config), but this munge the
session id into the url, so your urls look like

mysite.com/applicaion/numericsessionid/page.aspx

-- bruce (sqlwork.com)


"Chris Mahoney" <> wrote in message
news:u%23$c8G$...
> Hi
>
> I'm using several Sessions in my app. When the user has cookies enabled in
> their browser, everything works fine. But with cookies disabled, only IE
> seems to remember the sessions. In Firefox and Safari, the session values
> seem to be "forgotten".
>
> I've looked around on Google but can't find any solutions to this problem.
> Plus I don't know how debug with Firefox (eg. step through the code).
>
> So, basically I have two questions:
> 1. Any idea why non-IE browsers are losing their sessions when cookies are
> disabled?
> 2. How can I step through code using non-IE browsers?
>
> Thanks
> Chris
>
>



 
Reply With Quote
 
 
 
 
Chris Mahoney
Guest
Posts: n/a
 
      09-13-2005
I took a different approach to the problem and now having everything working
the way it should. Thanks for your help anyway.

Chris


"Bruce Barker" <brubar_nospamplease_@safeco.com> wrote in message
news:euDasl$...
> by default session support requires cookies (you must not haver cookies
> off in IE, chck the zone, and be sure cookies are disabled for that zone).
>
> you can use cookieless sessions, (see web config), but this munge the
> session id into the url, so your urls look like
>
> mysite.com/applicaion/numericsessionid/page.aspx
>
> -- bruce (sqlwork.com)
>
>
> "Chris Mahoney" <> wrote in message
> news:u%23$c8G$...
>> Hi
>>
>> I'm using several Sessions in my app. When the user has cookies enabled
>> in their browser, everything works fine. But with cookies disabled, only
>> IE seems to remember the sessions. In Firefox and Safari, the session
>> values seem to be "forgotten".
>>
>> I've looked around on Google but can't find any solutions to this
>> problem. Plus I don't know how debug with Firefox (eg. step through the
>> code).
>>
>> So, basically I have two questions:
>> 1. Any idea why non-IE browsers are losing their sessions when cookies
>> are disabled?
>> 2. How can I step through code using non-IE browsers?
>>
>> Thanks
>> Chris
>>
>>

>
>



 
Reply With Quote
 
aatif aatif is offline
Junior Member
Join Date: Aug 2006
Posts: 1
 
      08-15-2006
Hi Chris,

I am facing similar problem, we are using cookieless session and if cookies are disabled in Firefox or Opera, then cookies are not available at all. Sessions are available but we are trying to authenticate user in Application_Authenticate event of Global.asax, which don't have access to session variables...

Any idea how to fix this problem, it is working fine in IE, even if cookies are disabled.
Thanks
Aatif
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why is my global variable not being retained? carlos Javascript 11 03-27-2008 02:14 PM
How are DropDown lists retained on postback? =?Utf-8?B?SmF2YW1hbjU5?= ASP .Net 3 12-18-2006 08:07 AM
Publishing Websites in VS.Net 2005 -url not retained mike.aes@gmail.com ASP .Net 1 01-09-2006 07:10 PM
why is ddl.selectedValue not retained in viewstate ? =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?= ASP .Net 3 10-04-2005 12:11 PM
Are thread-local variables retained after processing? Steve - DND ASP .Net 5 04-25-2004 03:53 PM



Advertisments