473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

SetAuthCookie not working with IE6????

I try doing this in my code...

FormsAuthentication.SetAuthCookie(Convert.ToString (Request("lexusername") &
""), True)
Response.Redirect("customer/ViewCalendar.aspx") ' only authenticated
users

In IE7 the code runs PERFECT and I can view the ViewCalendar.aspx page.

In IE6 I get kicked back out to the Login.aspx page. The URL is
"login.aspx?ReturnUrl=%2fcustomer%2fViewCalendar.a spx".

Any idea what is going on? Is the auth cookie not persisting? This works
in IE7 ONLY.
Jun 30 '08 #1
1 2097
any word on this? this is urgent...

"Cirene" <ci****@nowhere.comwrote in message
news:eJ**************@TK2MSFTNGP04.phx.gbl...
>I try doing this in my code...

FormsAuthentication.SetAuthCookie(Convert.ToString (Request("lexusername")
& ""), True)
Response.Redirect("customer/ViewCalendar.aspx") ' only authenticated
users

In IE7 the code runs PERFECT and I can view the ViewCalendar.aspx page.

In IE6 I get kicked back out to the Login.aspx page. The URL is
"login.aspx?ReturnUrl=%2fcustomer%2fViewCalendar.a spx".

Any idea what is going on? Is the auth cookie not persisting? This works
in IE7 ONLY.

Jun 30 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Strange Cat | last post by:
Hi everyone! I have a weird problem with FormsAuthentication. I have an app that works just fine with FormsAuthentication. The user requests the homepage, he is redirected to login page,...
1
by: Tyson Brown | last post by:
All We recently started writing a couple encrypted values to the user's cookie using FormsAuthentication.Encrypt. Such as: Dim tmpTicket1 As New FormsAuthenticationTicket(1, "TEST", Date.Now,...
0
by: Danny Ni | last post by:
Hi, I am using Forms based authtication to authenticate users, I have a login page which take user account and password then post them to a form that queries the database, if succcessful I set...
0
by: fadi | last post by:
Hopefully someone seen this and knows best way around it. When using FormsAuthentication and using FormsAuthentication.SetAuthCookie, ASP.NET creates a cookie similar to the domain URL. For...
5
by: tshad | last post by:
I have been working with setting my drop boxes to allow double clicking to select an item. It worked fine until I made some changes. I then stripped the page down to the bare essentials to find...
8
by: Bill Henning | last post by:
Another developer and I have noticed that after upgrading to the ASP.NET 2.0 RTM release, when using: FormsAuthentication.SetAuthCookie(userName, true) That the cookie is no longer persisted,...
1
by: Alan Silver | last post by:
Hello, I have a site protected by forms authentication, and when the user logs in, I do the following... FormsAuthentication.SetAuthCookie(txtUsername.Text, chkRemember.Checked); where...
0
by: mavrick_101 | last post by:
I have a login page and after validating user credentials I set the FormsAuthentication.SetAuthCookie(username,false); and then redirect the user to a different page. This works often but some...
2
by: Cirene | last post by:
FormsAuthentication.SetAuthCookie works fine in IE7, but not in IE6. Any idea why? Any alternative to FormsAuthentication.SetAuthCookie? Here's my code: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.