Cookie not created with Response.Redirect

R

rrober07

What is the difference between these two methods?

The first one does NOT write a Cookie...and the second one does write the
cookie.

Anyone know why the first statement doesnot create a persistant cookie?

1) Response.Redirect( FormsAuthentication.GetRedirectUrl(strName, True))

2) FormsAuthentication.RedirectFromLoginPage( strName, True)



Let me know if I need any more information.

Thanks!

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top