D
Dev guy
Hi all
I have a site where we use Forms Authentication. When a user goes to
pay for something, we redirect them to a Payment Site outside of our
site (such as PayPal). When the payment is successful, the user gets
redirected back to our site.
The problem that we are experiencing is that when the user is
redirected back to our site from the payment site, the user loses its
session/cookie and taken to the login page. I am not sure if it was
the cookie or the session that was timed out. This does not happen
every time. It happens on occasion.
Does anyone have any idea what is happening?
Webconfig has these settings.
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" slidingExpiration="true" />
</authentication>
There is no entry in Session so I am guessing it is defaulted to 20
mins.
thanks
H F
I have a site where we use Forms Authentication. When a user goes to
pay for something, we redirect them to a Payment Site outside of our
site (such as PayPal). When the payment is successful, the user gets
redirected back to our site.
The problem that we are experiencing is that when the user is
redirected back to our site from the payment site, the user loses its
session/cookie and taken to the login page. I am not sure if it was
the cookie or the session that was timed out. This does not happen
every time. It happens on occasion.
Does anyone have any idea what is happening?
Webconfig has these settings.
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" slidingExpiration="true" />
</authentication>
There is no entry in Session so I am guessing it is defaulted to 20
mins.
thanks
H F